<!DOCTYPE html>

<html>
<head>
	<title>Nerv Widgets 3 - object extend</title>
	<style>
	body{
		padding:0;
		margin:10px;
		font-size: 11px;
	}
	</style>
	
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 
	<script src="../../nw3.js" type="text/javascript"></script>
</head>

<body>


<div id="button"></div>

<script>


obj = {}

/* estendo con oggetto nuovo */
NW3.core.object.extend(obj, {
	method : function(){
		document.write('method added');
	}
});

obj.method();
</script>
</body>
</html>
